package com.sitanyun.merchant.guide.bean;

import java.util.List;

/**
 * Created by jzl
 * on 2022/3/25.
 */
public class AnalysDialsBean {

    /**
     * code : 0
     * msg : null
     * data : {"records":[{"nodeId":"1476073066099449858","username":"薛定谔的猫","phone":"13752749148","browseCnt":16,"browseSceneCnt":2,"browseTime":15675,"callCnt":0,"interpretCnt":0,"interpretTime":0,"lastBrowseTime":null,"cid":"1494495051418468353"}],"total":1,"size":10,"current":1,"orders":[{"column":"browse_cnt","asc":false}],"optimizeCountSql":true,"searchCount":true,"countId":null,"maxLimit":null,"pages":1}
     */

    private int code;
    private Object msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getMsg() {
        return msg;
    }

    public void setMsg(Object msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * records : [{"nodeId":"1476073066099449858","username":"薛定谔的猫","phone":"13752749148","browseCnt":16,"browseSceneCnt":2,"browseTime":15675,"callCnt":0,"interpretCnt":0,"interpretTime":0,"lastBrowseTime":null,"cid":"1494495051418468353"}]
         * total : 1
         * size : 10
         * current : 1
         * orders : [{"column":"browse_cnt","asc":false}]
         * optimizeCountSql : true
         * searchCount : true
         * countId : null
         * maxLimit : null
         * pages : 1
         */

        private int total;
        private int size;
        private int current;
        private boolean optimizeCountSql;
        private boolean searchCount;
        private Object countId;
        private Object maxLimit;
        private int pages;
        private List<RecordsBean> records;
        private List<OrdersBean> orders;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getCurrent() {
            return current;
        }

        public void setCurrent(int current) {
            this.current = current;
        }

        public boolean isOptimizeCountSql() {
            return optimizeCountSql;
        }

        public void setOptimizeCountSql(boolean optimizeCountSql) {
            this.optimizeCountSql = optimizeCountSql;
        }

        public boolean isSearchCount() {
            return searchCount;
        }

        public void setSearchCount(boolean searchCount) {
            this.searchCount = searchCount;
        }

        public Object getCountId() {
            return countId;
        }

        public void setCountId(Object countId) {
            this.countId = countId;
        }

        public Object getMaxLimit() {
            return maxLimit;
        }

        public void setMaxLimit(Object maxLimit) {
            this.maxLimit = maxLimit;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public List<RecordsBean> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsBean> records) {
            this.records = records;
        }

        public List<OrdersBean> getOrders() {
            return orders;
        }

        public void setOrders(List<OrdersBean> orders) {
            this.orders = orders;
        }

        public static class RecordsBean {
            /**
             * nodeId : 1476073066099449858
             * username : 薛定谔的猫
             * phone : 13752749148
             * browseCnt : 16
             * browseSceneCnt : 2
             * browseTime : 15675
             * callCnt : 0
             * interpretCnt : 0
             * interpretTime : 0
             * lastBrowseTime : null
             * cid : 1494495051418468353
             */

            private String nodeId;
            private String username;
            private String phone;
            private int browseCnt;
            private int browseSceneCnt;
            private int browseTime;
            private int callCnt;
            private int interpretCnt;
            private int interpretTime;
            private Object lastBrowseTime;
            private String cid;

            public String getNodeId() {
                return nodeId;
            }

            public void setNodeId(String nodeId) {
                this.nodeId = nodeId;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public int getBrowseCnt() {
                return browseCnt;
            }

            public void setBrowseCnt(int browseCnt) {
                this.browseCnt = browseCnt;
            }

            public int getBrowseSceneCnt() {
                return browseSceneCnt;
            }

            public void setBrowseSceneCnt(int browseSceneCnt) {
                this.browseSceneCnt = browseSceneCnt;
            }

            public int getBrowseTime() {
                return browseTime;
            }

            public void setBrowseTime(int browseTime) {
                this.browseTime = browseTime;
            }

            public int getCallCnt() {
                return callCnt;
            }

            public void setCallCnt(int callCnt) {
                this.callCnt = callCnt;
            }

            public int getInterpretCnt() {
                return interpretCnt;
            }

            public void setInterpretCnt(int interpretCnt) {
                this.interpretCnt = interpretCnt;
            }

            public int getInterpretTime() {
                return interpretTime;
            }

            public void setInterpretTime(int interpretTime) {
                this.interpretTime = interpretTime;
            }

            public Object getLastBrowseTime() {
                return lastBrowseTime;
            }

            public void setLastBrowseTime(Object lastBrowseTime) {
                this.lastBrowseTime = lastBrowseTime;
            }

            public String getCid() {
                return cid;
            }

            public void setCid(String cid) {
                this.cid = cid;
            }
        }

        public static class OrdersBean {
            /**
             * column : browse_cnt
             * asc : false
             */

            private String column;
            private boolean asc;

            public String getColumn() {
                return column;
            }

            public void setColumn(String column) {
                this.column = column;
            }

            public boolean isAsc() {
                return asc;
            }

            public void setAsc(boolean asc) {
                this.asc = asc;
            }
        }
    }
}
